ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / ComboBoxBase<T> Class / HeaderPath Property






In This Topic
    HeaderPath Property (ComboBoxBase<T>)
    In This Topic
    Gets or sets the name of a property to use for getting the value displayed in the control's input element.
    Syntax
    'Declaration
     
    
    Public Overridable Property HeaderPath As System.String
    'Usage
     
    
    Dim instance As ComboBoxBase(Of T)
    Dim value As System.String
     
    instance.HeaderPath = value
     
    value = instance.HeaderPath
    public virtual System.string HeaderPath {get; set;}
    public read-write property HeaderPath: System.String; virtual; 
    public function get,set HeaderPath : System.String
    public: __property virtual System.string* get_HeaderPath();
    public: __property virtual void set_HeaderPath( 
       System.string* value
    );
    public:
    virtual property System.String^ HeaderPath {
       System.String^ get();
       void set (    System.String^ value);
    }
    Remarks
    The default value for this property is null, which causes the control to display the same content in the input element as in the selected item of the drop-down list. Use this property if you want to de-couple the value shown in the input element from the values shown in the drop-down list. For example, the input element could show an item's name and the drop-down list could show additional detail.
    See Also